package com.hdcircles.autoform.model.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by hdcircles on 2016/10/11.
 */

public class TextQuestionBean  implements Parcelable {

    private String title;
    private String answer;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.title);
        dest.writeString(this.answer);
    }

    public TextQuestionBean() {
    }

    protected TextQuestionBean(Parcel in) {
        this.title = in.readString();
        this.answer = in.readString();
    }

    public static final Creator<TextQuestionBean> CREATOR = new Creator<TextQuestionBean>() {
        @Override
        public TextQuestionBean createFromParcel(Parcel source) {
            return new TextQuestionBean(source);
        }

        @Override
        public TextQuestionBean[] newArray(int size) {
            return new TextQuestionBean[size];
        }
    };
}
